/*
 * Part of knowledge engineering (ke) course work, 2010/11
 */
package se.bth.ke.firstfriend.model;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

/**
 *
 * @author nico
 */
@Entity
@DiscriminatorValue("c")
public class CompletedCheckPoint extends CheckPoint {

    private String comment;

    private Integer timeInvested;
    
    public CompletedCheckPoint() {
        super(State.DONE);
    }

    /**
     * @return the comment
     */
    public String getComment() {
        return comment;
    }

    /**
     * @param comment the comment to set
     */
    public void setComment(String comment) {
        this.comment = comment;
    }

    /**
     * @return the timeInvested
     */
    public int getTimeInvested() {
        return timeInvested;
    }

    /**
     * @param timeInvested the timeInvested to set
     */
    public void setTimeInvested(int timeInvested) {
        this.timeInvested = timeInvested;
    }
}
